<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <li v-for="i in list">
        {{i.message}}
    </li>
<br>
    <div v-for="(i,index) in list">
        {{i.message}}--{{index}}
    </div>

</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
<script>
    var vm = new Vue({
        el:"#app",
        //model :数据
        data:{
            list:[
                {message : "sajdnka"},
                {message : "时间哦ID撒"},
                {message : "哈是嗲hi"}
            ]
        }
    });
</script>
</body>
</html>
